﻿using Almacen.Data.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Almacen.Data.Managers
{
    public class MeasureUnitManager
    {
        public static List<MeasureUnit> getMeasureUnits()
        {
            using (AlmacenDbContext c = new AlmacenDbContext())
            {
                //return from s in c.States select s; //
                return c.MeasureUnits.ToList();
            }
        }
    }
}
